/*
    闸机管理的路由
*/
const attendance = () => import(/*webpackChunkName:"name"*/'../view/attendance')
const attendanceContent = () => import(/*webpackChunkName:"name"*/'../view/attendance/content')
const gateBrake  = () => import(/*webpackChunkName:"name"*/'../view/attendance/gateBrake')
const attendanceRouter = 
    {
        path: 'attendance',
        component: attendance,
        redirect: 'gateBrake',
        meta: {
          title: '考勤管理'
        },
        children: [
          {
              path: '',
              component: attendanceContent,
              meta: {
                  title: '考勤列表'
              }
          },
          {
            path: 'gateBrake',
            component: gateBrake,
            meta: {
                title: '闸机列表',
                baiseRouter: false,
            },
			noShowList: true
          },
          {
            path: 'input-parameter',
            component: () => import(/*webpackChunkName:"name"*/'../view/attendance/inputParameter'),
            meta: {
                title: '入场教育',
            },
			noShowList: true,
          },
          // {
          //   path: 'detail',
          //   component: projectDetail,
          //   name: 'projectDetail',
          //   noShowList: true,
          //   meta: {
          //     title: '项目详情'
          //   }
          // }
        ]
    }
    export default attendanceRouter